<script setup lang="ts">
defineProps<{
  text: string;
  icon: string;
}>()
</script>

<template>
  <van-grid-item icon="photo-o">
    <van-image :src="icon" width="34"/>
    <span>{{ text }}</span>
  </van-grid-item>
</template>

<style scoped>
span {
  margin-top: 10px;
  font-size: 14px;
}
</style>
